package com.zys.pojo;

import java.util.List;
import java.io.Serializable;

/**
 * 商家实体类
 */
public class Merchant implements Serializable {
  private Integer id;           // 商家 id
  private String mcName;        // 商家名称
  private String password;      // 商家密码
  private String email;         // 商家邮箱
  private String telephone;     // 商家手机号码
  private long createTime;      // 注册时间
  private Role role;            // 商家角色
  private List<Good> goodList;  // 商家的商品列表

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getMcName() {
    return mcName;
  }

  public void setMcName(String mcName) {
    this.mcName = mcName;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public long getCreateTime() {
    return createTime;
  }

  public void setCreateTime(long createTime) {
    this.createTime = createTime;
  }

  public Role getRole() {
    return role;
  }

  public void setRole(Role role) {
    this.role = role;
  }

  public List<Good> getGoodList() {
    return goodList;
  }

  public void setGoodList(List<Good> goodList) {
    this.goodList = goodList;
  }
}
